package com.wanxi.dangdang.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author: YanZhengYi
 * @Description:    该实体类对应findPage中的模糊查询对象
 * @Date: Created in 2021/8/30
 * @Version: 1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(value = "com.wanxi.dangdang.model.vo.FindPageScenicVO",description = "景区模糊查询参数对象")
public class FindPageScenicVO {
    @ApiModelProperty(value = "景区状态,可选")
    private Integer issue;
    @ApiModelProperty(value = "景区标题,可选")
    private String title;
    //此为传的销量区间
    @ApiModelProperty(value = "销量左区间,可选")
    private Integer beforeSale;
    @ApiModelProperty(value = "销量右区间,可选")
    private Integer afterSale;
    //此为传的佣金比例区间
    @ApiModelProperty(value = "佣金比例左区间,可选")
    private Double beforeCommissionRate;
    @ApiModelProperty(value = "佣金比例右区间,可选")
    private Double afterCommissionRate;
    //此为成本价区间
    @ApiModelProperty(value = "成本价左区间,可选")
    private BigDecimal beforeCostPrice;
    @ApiModelProperty(value = "成本价右区间,可选")
    private BigDecimal afterCostPrice;
    //此为销售价区间
    @ApiModelProperty(value = "销售价左区间,可选")
    private BigDecimal beforeSalesPrice;
    @ApiModelProperty(value = "销售价右区间,可选")
    private BigDecimal afterSalesPrice;
    //此为库存的区间
    @ApiModelProperty(value = "库存左区间,可选")
    private Integer beforeRepertory;
    @ApiModelProperty(value = "库存右区间,可选")
    private Integer afterRepertory;

    @ApiModelProperty(value = "当前页数")
    Integer pageNum = 1 ;

    @ApiModelProperty(value = "一页多少个数据")
    Integer pageSize = 10;

}
